#include <Erc.h>

struct _Erc
{

   struct
   {
      const char *nick,
                 *server;
      unsigned int port;
      Eina_Bool connected;
      Eina_Strbuf *buf;

      struct
      {
         Ecore_Event_Handler *add,
                             *del,
                             *data,
                             *error,
                             *write;
      } ev;
   } con;


   struct
   {
      const char *server,
                 *login,
                 *password,
                 *database;
      struct
      {
      } ev;

   } sql;
};
